package com.ruoyi.tjbb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警时长统计对象 sys_tjbb_bjsctj
 * 
 * @author ruoyi
 * @date 2023-09-26
 */
public class SysTjbbBjsctj extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private String carId;

    /** 车牌颜色 */
    @Excel(name = "车牌颜色")
    private String carColor;

    /** 车组 */
    @Excel(name = "车组")
    private String carGroup;

    /** SIM卡号 */
    @Excel(name = "SIM卡号")
    private String simCord;

    /** 报警类型 */
    @Excel(name = "报警类型")
    private String alarmType;

    /** 报警来源 */
    @Excel(name = "报警来源")
    private String alarmSource;

    /** 报警次数 */
    @Excel(name = "报警次数")
    private String alarmDuration;

    /** 报警持续时长 */
    @Excel(name = "报警持续时长")
    private String alarmTimes;

    /** 开始报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 最后报警时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后报警时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 开始报警地点 */
    @Excel(name = "开始报警地点")
    private String startLocation;

    /** 最后报警地点 */
    @Excel(name = "最后报警地点")
    private String endLocation;

    /** 开始报警经纬度 */
    @Excel(name = "开始报警经纬度")
    private String startAlarmLongitudeLatitude;

    /** 最后报警经纬度 */
    @Excel(name = "最后报警经纬度")
    private String endAlarmLongitudeLatitude;

    /** 最后报警车速 */
    @Excel(name = "最后报警车速")
    private String endAlarmSpeed;

    /** 操作 */
    @Excel(name = "操作")
    private String operate;

    /** ID */
    private Long id;

    public void setCarId(String carId) 
    {
        this.carId = carId;
    }

    public String getCarId() 
    {
        return carId;
    }
    public void setCarColor(String carColor) 
    {
        this.carColor = carColor;
    }

    public String getCarColor() 
    {
        return carColor;
    }
    public void setCarGroup(String carGroup) 
    {
        this.carGroup = carGroup;
    }

    public String getCarGroup() 
    {
        return carGroup;
    }
    public void setSimCord(String simCord) 
    {
        this.simCord = simCord;
    }

    public String getSimCord() 
    {
        return simCord;
    }
    public void setAlarmType(String alarmType) 
    {
        this.alarmType = alarmType;
    }

    public String getAlarmType() 
    {
        return alarmType;
    }
    public void setAlarmSource(String alarmSource) 
    {
        this.alarmSource = alarmSource;
    }

    public String getAlarmSource() 
    {
        return alarmSource;
    }
    public void setAlarmDuration(String alarmDuration) 
    {
        this.alarmDuration = alarmDuration;
    }

    public String getAlarmDuration() 
    {
        return alarmDuration;
    }
    public void setAlarmTimes(String alarmTimes) 
    {
        this.alarmTimes = alarmTimes;
    }

    public String getAlarmTimes() 
    {
        return alarmTimes;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setStartLocation(String startLocation) 
    {
        this.startLocation = startLocation;
    }

    public String getStartLocation() 
    {
        return startLocation;
    }
    public void setEndLocation(String endLocation) 
    {
        this.endLocation = endLocation;
    }

    public String getEndLocation() 
    {
        return endLocation;
    }
    public void setStartAlarmLongitudeLatitude(String startAlarmLongitudeLatitude) 
    {
        this.startAlarmLongitudeLatitude = startAlarmLongitudeLatitude;
    }

    public String getStartAlarmLongitudeLatitude() 
    {
        return startAlarmLongitudeLatitude;
    }
    public void setEndAlarmLongitudeLatitude(String endAlarmLongitudeLatitude) 
    {
        this.endAlarmLongitudeLatitude = endAlarmLongitudeLatitude;
    }

    public String getEndAlarmLongitudeLatitude() 
    {
        return endAlarmLongitudeLatitude;
    }
    public void setEndAlarmSpeed(String endAlarmSpeed) 
    {
        this.endAlarmSpeed = endAlarmSpeed;
    }

    public String getEndAlarmSpeed() 
    {
        return endAlarmSpeed;
    }
    public void setOperate(String operate) 
    {
        this.operate = operate;
    }

    public String getOperate() 
    {
        return operate;
    }
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("carId", getCarId())
            .append("carColor", getCarColor())
            .append("carGroup", getCarGroup())
            .append("simCord", getSimCord())
            .append("alarmType", getAlarmType())
            .append("alarmSource", getAlarmSource())
            .append("alarmDuration", getAlarmDuration())
            .append("alarmTimes", getAlarmTimes())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("startLocation", getStartLocation())
            .append("endLocation", getEndLocation())
            .append("startAlarmLongitudeLatitude", getStartAlarmLongitudeLatitude())
            .append("endAlarmLongitudeLatitude", getEndAlarmLongitudeLatitude())
            .append("endAlarmSpeed", getEndAlarmSpeed())
            .append("operate", getOperate())
            .append("id", getId())
            .toString();
    }
}
